/*
 * @FilePath: /vue-ts/src/store/index.ts
 * @Author: Yongchao Wang
 * @Date: 2020-09-13 22:03:58
 * @LastEditors: Yongchao Wang
 * @LastEditTime: 2020-09-17 21:17:16
 */
import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    token: '',
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    // [types.SAVE_TOKEN](state: any, pageState: any) {
    //   for (const prop in pageState) {
    //     state[prop] = pageState[prop];
    //   }
    // },
  },
});
